package com.ifonly.aop;

import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.proxy.MethodProxy;

import java.lang.reflect.Method;

/**
 *
 *
 * @author ifonly
 * @version 1.0 2016-01-13 13:28
 * @since JDK 1.6
 */
public class Callback implements MethodInterceptor {

    @Override
    public Object intercept(Object o,
                            Method method,
                            Object[] objects,
                            MethodProxy methodProxy) throws Throwable {
        return methodProxy.invokeSuper(o, objects);
    }

}
